//比较三个数的大小
#include<stdio.h>
int main(void)
{
    int a,b,c;
    int max=0;

    printf("Please enter 3 numbers:");
    scanf("%d %d %d",&a,&b,&c);//scanf 输入时也要输入空格
    printf("Your enter:a=%d b=%d c=%d\n",a,b,c);

    if(a>b){
        if(a>c){
            printf("max=%d",a);
            max=a;
        }else{
            printf("max=%d",c);
            max=c;
        }
    }    else{
        if(b>c)
        {
            printf("max=%d",b);
            max=b;
        }else{
            printf("max=%d",c);
            max=c;
        }
    }

    printf("The max number is %d",max);

    return 0;



    
}